package com.cloud.school.app.service;

import com.cloud.school.app.model.ShowModel;
import com.cloud.school.app.util.Pager;

/**
 * @ClassName Show
 * @Description TODO
 * @Author 36297
 * @Date 2018/12/14 0:49
 * @Version 1.0
 */
public interface ShowService {
    Pager<ShowModel> selectByUid(Long Uid, int pNo);

    Pager<ShowModel> selectAll(int pNo);

    Pager<ShowModel> selectDetailByUid(Long Uid, int pNo);

    Pager<ShowModel> selectDetailWithoutCommentFormatByUid(Long Uid, int pNo);

    Pager<ShowModel> selectAllDetail(int pNo);

    Pager<ShowModel> selectAllDetailWithoutCommentFormat(int pNo);

    ShowModel selectById(Long showId);

    ShowModel selectDetailById(Long showId);

    ShowModel selectDetailWithoutCommentFormatById(Long showId);

    boolean save(ShowModel showModel);

    boolean deleteById(Long showId);
}
